#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<cmath>
using namespace std;
bool is_prime(int x)
{
	if (x <= 1)
		return 0;
	for (int i = 2; i <= sqrt(x); i++)
	{
		if (x % i == 0)
			return 0;
	}
	return 1;
}
int main()
{
	int n;
	cin >> n;
	for (int i = 4; i <= n; i += 2)
	{
		for (int j = 1; j < i; j++)
		{
			if (is_prime(j) && is_prime(i - j))
			{
				cout << i << "=" << j << "+" << i - j << endl;
				break;
			}
		}
	}
	return 0;
}